Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[14.0][IMP] spec_driven_model: Verificação no loop de registro dos hooks #2605

Open
wants to merge 1 commit into
base: 14.0
Choose a base branch
from

Conversation

ygcarvalh
Copy link
Contributor

@ygcarvalh ygcarvalh commented Jul 13, 2023

Quando estava implementando o módulo para a CT-e e utilizando o código em #2596, acabei esbarrando em um problema de uma classe que estava sendo utilizada e não possuía nenhum campo com o prefixo implementada. Isso faz com a que a iteração do loop seja interrompida e gere um erro, além de não deixar o módulo ser instalado.

Eu consegui contornar no módulo que está sendo desenvolvido comentando a definição da classe e de onde está o relacional, mas é apenas uma gambiarra para não interromper nada.

A ideia dessa melhoria é que ele só continue com o restante do código, apenas, se qualquer um dos campos contenha esse prefixo.

cc: @mileo @rvalyi @marcelsavegnago @antoniospneto

@OCA-git-bot
Copy link
Contributor

Hi @rvalyi,
some modules you are maintaining are being modified, check this out!

@rvalyi
Copy link
Member

rvalyi commented Jul 13, 2023

Olá @ygcarvalh . Te proponho porém de segurar um pouco esse merge. Vamos ver um pouco até que ponto vc chega primeiro com esses novos módulos de CTe e de MDFe para ter uma visão melhor do big picture do que precisa mudar ou não. Porém claro que se o caminho que vc tá seguindo der certo não vejo problema com esse tipo de mudança. Vc pode fazer um Cherry pick do commit na sua branch nesse tempo.

@ygcarvalh ygcarvalh marked this pull request as draft July 13, 2023 19:53
@mileo
Copy link
Member

mileo commented Oct 2, 2023

@felipezago @lfdivino isso ainda é necessário? Para o CT-e e MDF-e?

@mileo
Copy link
Member

mileo commented Oct 2, 2023

@ygcarvalh mantem em draft?

@mileo mileo requested a review from rvalyi October 2, 2023 18:32
Copy link

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label May 12, 2024
@github-actions github-actions bot closed this Jun 16, 2024
@mileo mileo reopened this Jun 16, 2024
@OCA-git-bot
Copy link
Contributor

Hi @rvalyi,
some modules you are maintaining are being modified, check this out!

@mileo mileo force-pushed the feat/spec-driven-register-hook branch from 1ec5352 to d15cf52 Compare June 19, 2024 16:56
@mileo mileo marked this pull request as ready for review June 19, 2024 16:56
@github-actions github-actions bot removed the stale PR/Issue without recent activity, it'll be soon closed automatically. label Jun 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants